package com.bbh.plugin.single.privilege.core.repository;

import com.bbh.plugin.single.privilege.core.vo.tree.RoleVo;
import com.bbh.plugin.single.privilege.core.entity.Role;
import org.springframework.boot.config.mybatis.MyBatisRepository;

import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

@MyBatisRepository
public interface RoleMapper extends Mapper<Role> {

    List<RoleVo> findUserRoleList(Map<String, Object> params);

    List<Role> findRoleListByLoginName(Map<String, Object> params);


}